import request from "@/config/axios";

const baseUrl = "http://localhost:3000/dev-api/screen";

// 首页-获取人员数据
export const fetchGetTotalNum = () => {
  return request.get({ url: `${baseUrl}/totalNum`});
};

// 首页-各年级学生占比
export const fetchGetHomeGrade = () => {
  return request.get({ url: `${baseUrl}/home/grade`});
};


